<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <img id="image" src="" data-src="path/to/your/image.jpg">

  <script>
    document.addEventListener('DOMContentLoaded', function() {
        var image = document.getElementById('image');
        var src = image.getAttribute('data-src');
        image.setAttribute('src', src);
    });
  </script>
</body>
</html>